package com.orderplus.opshop.core.exception;

import com.orderplus.opshop.core.constants.enums.ResponseCodeConstant;
import lombok.Data;
import lombok.ToString;

/**
 * 权限处理异常
 * Title:
 * Description:
 * Company: Copyright @ 2019 OrderPlus 版权所有
 *
 * @version 1.0 初稿
 * @author: mhj
 * @date: 2014年12月31日上午1:33:36
 */
@Data
@ToString(callSuper = true)
public class NoPrivilegeException extends CommonException {
	private static final long serialVersionUID = 1L;

	public NoPrivilegeException(String message) {
		super(ResponseCodeConstant.ROLE_ILLEGAL.getResponseCode(), message);
	}
}
